package com.exam.mapper;


import com.exam.pojo.PaperMap;
import org.apache.ibatis.annotations.Mapper;
@Mapper
public interface PaperMapMapper {
    /**
     * 添加题库映射信息
     * @param paperMap
     * @return
     */
    int insert(PaperMap paperMap);

    /**
     * 根据删除映射信息
     * @return
     */
    int delete(PaperMap paperMap);

    /**
     * 根据试题id删除题库映射
     * @param paperMap
     * @return
     */
    int deleteByQuestionId(PaperMap paperMap);
}
